home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 7
/
Apprentice-Release7.iso
/
Source Code
/
Pascal
/
Snippets
/
PNL Libraries
/
Libraries
/
GIF
/
gifsave.h
< prev
next >
Wrap
Text File
|
1995-07-20
|
571b
|
37 lines
#ifndef GIFSAVE_H
#define GIFSAVE_H
enum GIF_Code {
GIF_OK,
GIF_ERRCREATE,
GIF_ERRWRITE,
GIF_OUTMEM
};
pascal short GIF_Create(
FSSpec *filename,
short width, short height,
short numcolors, short colorres
);
pascal void GIF_SetColor(
short colornum,
short red, short green, short blue
);
pascal short GIF_CompressImage(
short left, short top,
short width, short height,
pascal short (*getpixel)(short x, short y)
);
pascal short GIF_Close(void);
#endif